package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {

    //新增检查项
    public void add(CheckItem checkItem);

    //检查项分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //检查项删除
    void delete(Integer id);

    //编辑窗口回显
    CheckItem findById(Integer id);

    //编辑检查项
    void edit(CheckItem checkItem);

    //检查组新增：检查项全部查询
    List<CheckItem> findAll();
}
